package 包装类编程题;

import java.util.Scanner;

public class StringToInt {
    public static void main(String[] args) {
        Scanner in = new Scanner(System.in);
        System.out.println("Enter grade:(eg.95)");
        String stringGrade = String.valueOf(in.nextInt());
        Integer integerGrade = Integer.valueOf(stringGrade);
        int intGrade = Integer.parseInt(stringGrade);
        System.out.println(integerGrade);
        System.out.println(intGrade+5);
    }
}
